package com.sina.shop.core.exception.server;


import com.sina.shop.util.ResultCode;

/**
 * Created with IntelliJ IDEA.
 * Description:当更新数据出现异常,如并发更新出现乐观锁异常.
 * 段浩杰   2017-11-14-13:46
 */
public class UpdateException extends ShopDataAccessException {

    public UpdateException(ResultCode resultCode) {
        super(resultCode);
    }

    public UpdateException(ResultCode resultCode, String message) {
        super(resultCode, message);
    }

    public UpdateException(ResultCode resultCode, Throwable cause) {
        super(resultCode, cause);
    }

    public UpdateException(ResultCode resultCode, String message, Throwable cause) {
        super(resultCode, message, cause);
    }
}
